package com.dmp.onlinestore.model.service;

//import com.dmp.onlinestore.model.dto.ProductBean;
import com.dmp.onlinestore.model.dto.ProductBeanFilterSpec;
import com.dmp.onlinestore.model.service.base.ServiceExecutionException;

public interface Catalog {
	
	// Returns a ProductBeanPager, initialized with all ProductBean's available.
	public ProductBeanPager getProducts() throws ServiceExecutionException;

	// Returns a ProductBeanPager, initialized with the list of ProductBean's
	// which match the given filter.
	public ProductBeanPager getProducts(ProductBeanFilterSpec filter) throws ServiceExecutionException;
	
}
